home *** CD-ROM | disk | FTP | other *** search
- {Part of Imagelib VCL/DLL Library.
-
- Written by Jan Dekkers and Kevin Adams}
-
- unit Usimple;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, tmulti;
-
- type
- TForm1 = class(TForm)
- MultiImage1: TMultiImage;
- Button1: TButton;
- OpenDialog1: TOpenDialog;
- procedure Button1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- if OpenDialog1.execute then
- MultiImage1.Imagename:=OpenDialog1.filename;
- end;
-
-
- end.
-